package obj;

public class Teacher {
    int id=0;
    String name="";
    String sex="";
    String sub="";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSub() {
        return sub;
    }

    public void setSub(String sub) {
        this.sub = sub;
    }

    public Teacher(int id, String name, String sex, String sub) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.sub = sub;
    }
}
